package pms.contract.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import pms.contract.domain.BaseEntity;

@Table(name="contract")
@Entity
@NamedQueries({ @NamedQuery(name = "Contract.getRoot", query = "select u from Contract u") })
public class Contract extends BaseEntity{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -4376674977047164142L;
//	@Id
	@Column(name="ID")
	Long id;
	@Column(name="userid")
	Long userid;
	@Column(name="content")
	String content;
	@Column(name="date")
	String date;
	@Column(name="type")
	String type;
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getContent() {
		return content;
	}
	public Long getUserid() {
		return userid;
	}
	public void setUserid(Long userid) {
		this.userid = userid;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public void setGroup(Group g) {
		// TODO Auto-generated method stub
		
	}
	

}
